.class public Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;
.super Landroid/widget/FrameLayout;
.source "PremiumBannerView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$c;,
        Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$b;
    }
.end annotation


# instance fields
.field private a:Lcom/estrongs/android/widget/InfiniteViewPager;

.field private b:Lcom/estrongs/android/widget/CircleIndicatorView;

.field private final c:I

.field private final d:I

.field private e:I

.field private f:I

.field private g:I

.field private h:Z

.field private i:Z

.field private j:I

.field private k:Z

.field private l:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$c;",
            ">;"
        }
    .end annotation
.end field

.field private m:Lcom/estrongs/android/widget/InfinitePagerAdapter;

.field private n:Ljava/lang/Runnable;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 3
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 4
    invoke-static {}, Landroid/content/res/Resources;->getSystem()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object p1

    iget p1, p1, Landroid/util/DisplayMetrics;->widthPixels:I

    const/high16 p3, 0x42180000    # 38.0f

    invoke-static {p3}, Lcom/estrongs/android/pop/utils/t;->a(F)I

    move-result p3

    mul-int/lit8 p3, p3, 0x2

    sub-int/2addr p1, p3

    iput p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->c:I

    int-to-float p1, p1

    const p3, 0x3f1020c5    # 0.563f

    mul-float p1, p1, p3

    float-to-int p1, p1

    const/high16 p3, 0x40800000    # 4.0f

    .line 5
    invoke-static {p3}, Lcom/estrongs/android/pop/utils/t;->a(F)I

    move-result p3

    add-int/2addr p1, p3

    iput p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->d:I

    const/4 p3, 0x1

    .line 6
    iput-boolean p3, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->h:Z

    .line 7
    iput-boolean p3, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->i:Z

    const/high16 p3, 0x40a00000    # 5.0f

    .line 8
    invoke-static {p3}, Lcom/estrongs/android/pop/utils/t;->a(F)I

    move-result p3

    add-int/2addr p1, p3

    iput p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->j:I

    const/4 p1, 0x0

    .line 9
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->k:Z

    .line 10
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->l:Ljava/util/List;

    .line 11
    new-instance p1, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$a;-><init>(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->n:Ljava/lang/Runnable;

    .line 12
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a(Landroid/util/AttributeSet;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)Lcom/estrongs/android/widget/InfiniteViewPager;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    return-object p0
.end method

.method private a(Landroid/util/AttributeSet;)V
    .locals 6
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "ClickableViewAccessibility"
        }
    .end annotation

    .line 2
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f0c02e1

    invoke-static {v0, v1, p0}, Landroid/widget/FrameLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0908a8

    .line 3
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/widget/InfiniteViewPager;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    const v0, 0x7f09054c

    .line 4
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/widget/CircleIndicatorView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b:Lcom/estrongs/android/widget/CircleIndicatorView;

    const/4 v0, 0x0

    .line 5
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setClipChildren(Z)V

    .line 6
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setClipToPadding(Z)V

    .line 7
    new-instance v1, Lcom/estrongs/android/widget/InfinitePagerAdapter;

    new-instance v2, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$b;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$b;-><init>(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)V

    invoke-direct {v1, v2}, Lcom/estrongs/android/widget/InfinitePagerAdapter;-><init>(Landroidx/viewpager/widget/PagerAdapter;)V

    iput-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->m:Lcom/estrongs/android/widget/InfinitePagerAdapter;

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    const/4 v2, 0x2

    invoke-virtual {v1, v2}, Landroidx/viewpager/widget/ViewPager;->setOffscreenPageLimit(I)V

    .line 9
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    const/high16 v3, 0x41400000    # 12.0f

    invoke-static {v3}, Lcom/estrongs/android/pop/utils/t;->a(F)I

    move-result v3

    invoke-virtual {v1, v3}, Landroidx/viewpager/widget/ViewPager;->setPageMargin(I)V

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    new-instance v3, Lcom/estrongs/android/pop/app/openscreenad/DepthPageTransformer;

    invoke-direct {v3}, Lcom/estrongs/android/pop/app/openscreenad/DepthPageTransformer;-><init>()V

    const/4 v4, 0x1

    invoke-virtual {v1, v4, v3}, Landroidx/viewpager/widget/ViewPager;->setPageTransformer(ZLandroidx/viewpager/widget/ViewPager$PageTransformer;)V

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->m:Lcom/estrongs/android/widget/InfinitePagerAdapter;

    invoke-virtual {v1, v3}, Lcom/estrongs/android/widget/InfiniteViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V

    .line 12
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    new-instance v3, Lcom/estrongs/android/pop/app/premium/newui/e;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/premium/newui/e;-><init>(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)V

    invoke-virtual {v1, v3}, Landroid/view/ViewGroup;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 13
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b:Lcom/estrongs/android/widget/CircleIndicatorView;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    iget-object v5, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->m:Lcom/estrongs/android/widget/InfinitePagerAdapter;

    invoke-virtual {v5}, Lcom/estrongs/android/widget/InfinitePagerAdapter;->a()I

    move-result v5

    invoke-virtual {v1, v3, v5}, Lcom/estrongs/android/widget/CircleIndicatorView;->a(Landroidx/viewpager/widget/ViewPager;I)V

    .line 14
    new-instance v1, Lcom/estrongs/android/pop/app/openscreenad/u;

    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v1, v3}, Lcom/estrongs/android/pop/app/openscreenad/u;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    invoke-virtual {v1, v3}, Lcom/estrongs/android/pop/app/openscreenad/u;->a(Landroidx/viewpager/widget/ViewPager;)V

    .line 15
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    sget-object v3, Lcom/estrongs/android/pop/n;->PremiumBannerView:[I

    invoke-virtual {v1, p1, v3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;

    move-result-object p1

    const/4 v1, -0x1

    .line 16
    invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    iput v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->e:I

    const/4 v0, 0x4

    .line 17
    invoke-virtual {p1, v0, v1}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    iput v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->f:I

    .line 18
    invoke-virtual {p1, v4, v1}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    iput v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->g:I

    const/4 v0, 0x5

    .line 19
    invoke-virtual {p1, v0, v4}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->h:Z

    const/4 v0, 0x6

    .line 20
    invoke-virtual {p1, v0, v4}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->i:Z

    .line 21
    invoke-virtual {p1, v2, v1}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    const/4 v2, 0x3

    .line 22
    invoke-virtual {p1, v2, v1}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v1

    .line 23
    iget-object v2, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b:Lcom/estrongs/android/widget/CircleIndicatorView;

    invoke-virtual {v2, v0, v1}, Lcom/estrongs/android/widget/CircleIndicatorView;->a(II)V

    .line 24
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->i:Z

    if-nez v0, :cond_0

    .line 25
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b:Lcom/estrongs/android/widget/CircleIndicatorView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 26
    :cond_0
    invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V

    .line 27
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a()V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->l:Ljava/util/List;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->e:I

    return p0
.end method

.method static synthetic d(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->h:Z

    return p0
.end method

.method static synthetic e(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->g:I

    return p0
.end method

.method static synthetic f(Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->f:I

    return p0
.end method


# virtual methods
.method public a()V
    .locals 3

    .line 32
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b()V

    .line 33
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->n:Ljava/lang/Runnable;

    const-wide/16 v1, 0xbb8

    invoke-virtual {p0, v0, v1, v2}, Landroid/widget/FrameLayout;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method

.method public synthetic a(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1

    .line 28
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    if-nez p1, :cond_0

    .line 29
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->n:Ljava/lang/Runnable;

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 30
    :cond_0
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_1

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    const/4 p2, 0x3

    if-ne p1, p2, :cond_2

    .line 31
    :cond_1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a()V

    :cond_2
    :goto_0
    const/4 p1, 0x0

    return p1
.end method

.method public b()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->n:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public getIndicatorTopMargin()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->d:I

    return v0
.end method

.method protected onDetachedFromWindow()V
    .locals 0

    .line 1
    invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b()V

    return-void
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 3

    .line 1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_1

    .line 2
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iget v2, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->j:I

    int-to-float v2, v2

    cmpl-float v0, v0, v2

    if-ltz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->k:Z

    .line 3
    :cond_1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->k:Z

    if-eqz v0, :cond_2

    return v1

    .line 4
    :cond_2
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1

    return p1
.end method

.method protected onLayout(ZIIII)V
    .locals 2

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->i:Z

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b:Lcom/estrongs/android/widget/CircleIndicatorView;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup$MarginLayoutParams;

    iget v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->d:I

    iput v1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I

    .line 3
    :cond_0
    invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V

    return-void
.end method

.method protected onMeasure(II)V
    .locals 3

    .line 1
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V

    .line 2
    iget p2, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->c:I

    const/high16 v0, 0x40000000    # 2.0f

    invoke-static {p2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p2

    .line 3
    iget v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->c:I

    int-to-float v1, v1

    const v2, 0x3f1020c5    # 0.563f

    mul-float v1, v1, v2

    float-to-int v1, v1

    .line 4
    invoke-static {v1, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v1

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    invoke-virtual {v2, p2, v1}, Landroid/view/ViewGroup;->measure(II)V

    .line 6
    iget p2, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->d:I

    iget-boolean v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->i:Z

    if-eqz v1, :cond_0

    const/high16 v1, 0x41a00000    # 20.0f

    invoke-static {v1}, Lcom/estrongs/android/pop/utils/t;->a(F)I

    move-result v1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    add-int/2addr p2, v1

    invoke-static {p2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p2

    .line 7
    invoke-virtual {p0, p1, p2}, Landroid/widget/FrameLayout;->setMeasuredDimension(II)V

    return-void
.end method

.method public setData(Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView$c;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->l:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 3
    iget-boolean p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->i:Z

    if-eqz p1, :cond_0

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->b:Lcom/estrongs/android/widget/CircleIndicatorView;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->l:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/widget/CircleIndicatorView;->a(Landroidx/viewpager/widget/ViewPager;I)V

    .line 5
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->a:Lcom/estrongs/android/widget/InfiniteViewPager;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/newui/PremiumBannerView;->m:Lcom/estrongs/android/widget/InfinitePagerAdapter;

    invoke-virtual {p1, v0}, Lcom/estrongs/android/widget/InfiniteViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V

    return-void
.end method
